package com.lsm.mapper;

import com.lsm.entity.Product;

import java.util.List;

public interface ProductMapper {

    int addProduct(Product product);

    List<Product> queryProductAll();

    Product queryProductById(Integer id);

    int updateProductById(Product p);

    int deleteProductById(Integer id);

    int deleteProductByBatch(List<Integer> ids);
}
